import { get } from "../../utils/db"
Page({
  data: {
    list: [],      //获奖列表
  },
  async onLoad() {
  
    // let startTime = new Date(new Date().setHours(0, 0, 0, 0)).getTime();
    let result = await get({
      collection: "users", 
    }).catch(err => {
      console.log(err)
    })
    console.log(result)
    this.setData({
      list: result.data
    })
  }
})